package com.yjkf.zh.admin.security;

import org.springframework.security.core.GrantedAuthority;

public class GrantedAuthorityImpl implements GrantedAuthority {

    private String authority;       //权限字段
    @Override
    public String getAuthority() {
        return this.authority;
    }
    public GrantedAuthorityImpl(String authority){
        this.authority = authority;
    }

    public void setAuthority(String authority){
        this.authority = authority;
    }
}
